<%@ Page Language="C#" MasterPageFile="~/MainLayout.Master" AutoEventWireup="true" CodeBehind="ShowInVE.aspx.cs" Inherits="Instedd.Labs.Geoblogging.Website.ShowInVE" %>

<asp:Content runat="server" ContentPlaceHolderID="Content">
<script src="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script>
<script>
var map = null;
var layerid=1;
function GetMap()
{
map = new VEMap('myMap');
map.LoadMap();
}   
function AddMyLayer(source)
{
var veLayerSpec = new VELayerSpecification();
veLayerSpec.Type = VELayerType.GeoRSS;
veLayerSpec.ID = layerid;
veLayerSpec.LayerSource = source;
veLayerSpec.Method = 'get';
//veLayerSpec.FnCallback = onFeedLoad;
map.AddLayer(veLayerSpec);
layerid++;
}
</script>
<body onload="GetMap(); AddMyLayer('http://goldenshadow.clariusconsulting.net/GetFeed.aspx?t=georss');">
<div id='myMap' style="position:relative; width:800px; height:450px;"></div>
</asp:Content>